package com.zs.source.service.impl;

import com.zs.source.service.StudentService;
import com.zs.source.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 * @author zhshuo
 * @date 2021/07/14 16:20
 **/
@Service
public class TeacherServiceImpl implements TeacherService {

	@Autowired
	StudentService studentService;

    @Override
    public void teacherInfo() {
		studentService.student();
		System.out.println("This is teacher");
    }
}
